<!--
 * @Descripttion: 
 * @Version: 1.0
 * @Author: wangph
 * @Date: 2021-03-31 09:46:02
 * @LastEditors: wangph
 * @LastEditTime: 2021-04-29 15:16:51
-->
{extend name="layout" /}
{block name="content"}
<div class="row">
    <div class="col-md-12">
        <div class="block nav-tabs-custom"> {notempty name="tab_list"}
            <ul class="nav nav-tabs">
                {volist name="tab_list" id="tab"}
                <li {eq name="group" value="$key" }class="active" {/eq}> <a href="{$tab.url}">{$tab.title}</a> </li>
                {/volist}
            </ul>
            {/notempty}

            <div class="box-body tab-content">
                <div class="tab-pane active">
                    <!-- 表单验证请保留id="form"，否则验证不起作用 -->
                    <div class="block-content"  style="width: 700px;">
                        <form class="form row" name="form" id="form" action="{:url('')}" method="post"
                            data-validator-option="{timely:1, theme:'bootstrap'}">
                            <input type="hidden" name="group" value="{$group}" />
                            {include file="../application/admin/view/public/form.html" /}
                            <div class="form-group col-md-12 col-xs-12">
                                <div class="col-xs-12">
                                    <button class="btn btn-primary " type="submit"> {:lang('提交')} </button>
                                    <button class="btn btn-default " type="button" onClick="javascript:history.back(-1);return false;">
                                        {:lang('返回')} </button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

{volist name="set_style" id="s"}<link rel="stylesheet" href="{$s}" />{/volist}
{volist name="plugin_item_css" id="s"}<link rel="stylesheet" href="{$s}" />{/volist}
{/block}
{block name="script"}
{volist name="set_script" id="s"}<script type="text/javascript" src="{$s}"></script>{/volist}
{volist name="plugin_item_js" id="s"}<script type="text/javascript" src="{$s}"></script>{/volist}
{/block}
